<?php
/**
 * 模板消息添加.
 * User: lvshuyun
 * Date: 2015/6/11
 * Time: 10:18
 */

use common\widgets\ActiveForm;
use common\widgets\FormTable;

$this->title = '自动回复';


$form = ActiveForm::begin();

echo FormTable::widget([
    'model' => $model,
    'form' => $form,
    'rows' => [
        'key' => ['type' => FormTable::INPUT_TEXT, 'width'=>8],
        'reply' => [
            'type' => FormTable::INPUT_TEXTAREA,
            'width' => '8'
        ],
    ],
]);

ActiveForm::end();

